package com.example.databasepj.dto;
import java.time.LocalDateTime;
import java.util.List;

public class OrderDetail {
    //"order_ID": 123,
    //    "merchant_ID": 23,
    //    "order_form": "在线点餐",
    //    "order_status": "已完成",
    //    "create_time": "2024-01-01T00:00:00.000Z",
    //    "dishList": [
    private int order_ID;
    private int merchant_ID;
    private String order_form;
    private String order_status;
    private java.time.LocalDateTime create_time;
    private List<DishData> dishList;

    public OrderDetail() {
    }

    public OrderDetail(int order_ID, int merchant_ID) {
        this.order_ID = order_ID;
        this.merchant_ID = merchant_ID;
    }

    public OrderDetail(int order_ID, int merchant_ID, String order_form, String order_status, LocalDateTime create_time, List<DishData> dishList) {
        this.order_ID = order_ID;
        this.merchant_ID = merchant_ID;
        this.order_form = order_form;
        this.order_status = order_status;
        this.create_time = create_time;
        this.dishList = dishList;
    }

    public int getOrder_ID() {
        return order_ID;
    }

    public void setOrder_ID(int order_ID) {
        this.order_ID = order_ID;
    }

    public int getMerchant_ID() {
        return merchant_ID;
    }

    public void setMerchant_ID(int merchant_ID) {
        this.merchant_ID = merchant_ID;
    }

    public String getOrder_form() {
        return order_form;
    }

    public void setOrder_form(String order_form) {
        this.order_form = order_form;
    }

    public String getOrder_status() {
        return order_status;
    }

    public void setOrder_status(String order_status) {
        this.order_status = order_status;
    }

    public LocalDateTime getCreate_time() {
        return create_time;
    }

    public void setCreate_time(LocalDateTime create_time) {
        this.create_time = create_time;
    }

    public List<DishData> getDishList() {
        return dishList;
    }

    public void setDishList(List<DishData> dishList) {
        this.dishList = dishList;
    }
}
